// 股票名称——A股

package models

// 字段定义的文档
// https://gorm.io/zh_CN/docs/models.html

// STOCK_COMMENTS 股票评论
type STOCK_COMMENTS struct {
	COMM_ID      int64 `gorm:"primaryKey;autoIncrement;not null"`
	USER_ID      int64
	COMPANY_CODE string `gorm:"type:varchar(10);not null"`
	COMM_CONTENT string `gorm:"type:text;null"`
	BaseModel
}

func (STOCK_COMMENTS) TableName() string {
	return "stock_comments"
}
